package api.eventBus;

/**
 * Created by Administrator on 2018-01-20.
 */

public class Event implements IBus.IEvent {
    public int arg1;
    public Object data;


    public <T> Event(int arg1, T data) {
        this.data=data;
        this.arg1=arg1;
    }
    public Event(int arg1) {
        this.arg1 = arg1;
    }

    @Override
    public int getTag() {
        return arg1;
    }
}
